package com.ruoyi.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.business.domain.SysFileInfo;
import com.ruoyi.business.vo.SysFileInfoVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 文件信息Mapper接口
 *
 * @author Tellsea
 * @date 2023-02-08
 */
public interface SysFileInfoMapper extends BaseMapper<SysFileInfo> {

    Page<SysFileInfoVo> queryList(Page<?> page, @Param("entity") SysFileInfoVo entity);

    List<SysFileInfoVo> queryList(@Param("entity") SysFileInfoVo entity);

    SysFileInfoVo queryById(@Param("id") Long fileId);

    int saveRtnId(SysFileInfoVo entity);

    SysFileInfoVo getByFileId(Integer outlineId);
}
